<template>
  <template v-if="$route.path !== '/login' && $route.path !== '/login/reset_password'">
    <NavBar></NavBar>
    <TheLayout>
      <router-view></router-view>
    </TheLayout>
  </template>

  <template v-else>
    <router-view></router-view>
  </template>

  <Footer></Footer>
</template>

<script setup>
import NavBar from "./components/NavBar.vue";
import TheLayout from "./components/TheLayout.vue";
import "./assets/base.css";
import Footer from "./components/Footer.vue";

</script>

<style lang="scss" scoped>
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
}

.app {
  min-height: 100vh;
  position: relative;
}

.container {
  padding: 0 20px;
  max-width: 1140px;
  margin: 0 auto;
}

</style>
